import type { App } from 'vue';
import { Form, Input, Button } from 'ant-design-vue';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

/**
 * 全部加载
 * @param app 
 */
export function setAntd(app: App<Element>) {
  app.use(Antd);
}

export function setAntd2(app: App<Element>) {
  app.component(Button.Group.name, Button.Group);
  app.use(Form);
  app.use(Input);
}